package cn.itsource.domain.login;

import cn.itsource.basic.domain.CreatePassword;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;


@Getter
@Setter
@Data
@TableName("t_logininfo")
public  class LoginInfo implements CreatePassword {
    @TableId
    private Long id;
    private  String username;
    private String phone ;
    private String email;
    private String password;
    private Integer type;
    private String salt;
    //这里是未加密的密码
    @TableField(exist = false)
    private String initPassword;
    /**
     * 这个id,只有后台的管理系统employee这个表才有的
     */

    private Long shopId;
}
